/**
 * @file LogFun.h
 * @author shikang999@126.com
 * @brief 主要记录模块耗时
 * @version 0.1
 * @date 2025-08-07
 * 
 * @copyright Copyright (c) 2025
 * 
 */
#pragma once
#include <chrono>
#include <string>
#include <cstdint>

class LogFun
{
public:
    LogFun(const std::string &cppFile, const std::string &funName, int lineNo, const std::string &tip = "");
    ~LogFun();

private:
    std::string cppFile_;
    std::string funName_;
    uint32_t lineNo_;
    std::string tip_;
    std::chrono::system_clock::time_point time_;
};